package View;

import com.twu.biblioteca.BibliotecaApp;
import com.twu.biblioteca.KeyboardUserInput;
import com.twu.biblioteca.Message;

public class HomeView {
    KeyboardUserInput keyInput;
    public HomeView(){
        keyInput = new KeyboardUserInput();
    }

    public void showWelcomeMessage() {
        Message.printWelcomeMessage();
    }


    public int showAndAcceptMenuInput() {
        Message.printMenu();
        return keyInput.acceptValidIntRangeInput(1, BibliotecaApp.LAST_MENU_ITEM, "Select a Valid Option: ");
    }
}
